package com.jsb.laundry.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户对帖子评论点赞的关系表
 * @TableName jsb_post_comments_likes
 */
@TableName(value ="jsb_post_comments_likes")
@Data
public class JsbPostCommentsLikes implements Serializable {
    /**
     * 自增id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 帖子评论id，jsb_post_comments表中的id
     */
    private Integer commentId;

    /**
     * 对评论点赞的用户ID
     */
    private String userId;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}